const loginreducer = (state = [], action) => {
    switch (action.type) {
        case 'ADMIN_LOGIN':
            return action.adminlogin
        case 'ADMIN_UNLOG':
            return []
        default:
            return state;
    }
}

export default loginreducer;